package com.hzf.order.dao.mapper;

import com.hzf.order.dao.model.OrderUserDemand;
import com.hzf.order.dao.model.OrderUserDemandExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderUserDemandMapper {
    long countByExample(OrderUserDemandExample example);

    int deleteByExample(OrderUserDemandExample example);

    int deleteByPrimaryKey(Integer orderId);

    int insert(OrderUserDemand record);

    int insertSelective(OrderUserDemand record);

    List<OrderUserDemand> selectByExample(OrderUserDemandExample example);

    OrderUserDemand selectByPrimaryKey(Integer orderId);

    int updateByExampleSelective(@Param("record") OrderUserDemand record, @Param("example") OrderUserDemandExample example);

    int updateByExample(@Param("record") OrderUserDemand record, @Param("example") OrderUserDemandExample example);

    int updateByPrimaryKeySelective(OrderUserDemand record);

    int updateByPrimaryKey(OrderUserDemand record);
}